<template>
  <div id="userLayout-contaienr">
    <a-layout style="height: 400px">
      <a-layout-header class="header"> 用户布局 </a-layout-header>
      <a-layout-content class="content">
        <router-view />
      </a-layout-content>
      <a-layout-footer class="footer">My Oj From Fish</a-layout-footer>
    </a-layout>
  </div>
</template>

<script setup>
import GlobalHeader from "@/components/GlobalHeader.vue";
</script>

<style scoped>
#userLayout-contaienr .header {
  margin-bottom: 16px;
  box-shadow: #eee 1px 1px 5px;
}
#userLayout-contaienr .content {
  background-color: linear-gradient(to right, #bbb, #ffffff);
  margin-bottom: 16px;
  padding: 20px;
}
#userLayout-contaienr .footer {
  background-color: #efefef;
  padding: 16px;
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
}
</style>
